//
//  HomeCollectionViewDataSource.m
//  iOS_Store_V2
//
//  Created by Gary on 29/06/2017.
//  Copyright © 2017 czy. All rights reserved.
//

#import "HomeCollectionViewDataSource.h"
#import "HomeProductASDataManager.h"

@implementation HomeCollectionViewDataSource


- (void)startPullRefresh {
    if ([self.collectionViewDataManager isKindOfClass:[HomeProductASDataManager class]]) {
        HomeProductASDataManager *productDataManager = (HomeProductASDataManager*)self.collectionViewDataManager;
        productDataManager.reponseDictionary = nil;
        productDataManager.reloaded = YES;
//        productDataManager.section = nil;
//        productDataManager.headerSection = nil;
//        ASBBCollectionViewSection *section = (ASBBCollectionViewSection*)productDataManager.section;
//        section.headerItem = nil;
    }
    [super startPullRefresh];
}

@end
